package com.kuanter.kuanterauto.wapalipay;

/*
 * 交易参数配置信息
 */
public class TradeConfig {
   
    //商品名称
    private String subject;
    //商品价格
    private String total_fee;
    //交易号
    private String outTradeNo;
    
	public TradeConfig() {
	}

	public TradeConfig(String subject, String total_fee,String outTradeNo) {
		this.subject = subject;
		this.total_fee = total_fee;
		if(null == outTradeNo){
			outTradeNo = System.currentTimeMillis()+"";
		}else {
			this.outTradeNo = outTradeNo;
		}
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public String getTotal_fee() {
		return total_fee;
	}

	public void setTotal_fee(String total_fee) {
		this.total_fee = total_fee;
	}

	public String getOutTradeNo() {
		return outTradeNo;
	}

	public void setOutTradeNo(String outTradeNo) {
		this.outTradeNo = outTradeNo;
	}
    
    
}
